﻿using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Threading;
using System.Collections;

namespace PickGold.Data.Raptor
{
	public class Database<T> : KeyStore<T> where T : IComparable<T>
	{
		public Database(string filename, byte maxKeySize, bool allowDuplicateKeys) : base(filename, maxKeySize, allowDuplicateKeys) { }

		public Database(string filename, bool allowDuplicateKeys) : base(filename, allowDuplicateKeys) { }

		public new static Database<T> Open(string filename, bool allowDuplicateKeys)
		{
			return new Database<T>(filename, allowDuplicateKeys);
		}

		public new static Database<T> Open(string filename, byte maxKeySize, bool allowDuplicateKeys)
		{
			return new Database<T>(filename, maxKeySize, allowDuplicateKeys);
		}
	}
}
